<% flash.each do |name, msg| %>
  <div class="alert alert-<%=name %>">
    <button class="close" data-dismiss="alert"> × </button>
    <%=msg %>
  </div>
<% end %>
